package com.hmsg.health.bean.domain;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Persistent;
import lombok.Data;
@Data
@ApiModel
public class MessageDo {
    @ApiModelProperty(value = "ID")
	private Integer id;
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "资源ID")
    private Integer resourceId;
    
    @ApiModelProperty(value = "1任务通知 2接单通知")
    private Integer type;
    
    @ApiModelProperty(value = "描述")
    private String title;
    
    @ApiModelProperty(value = "是否已读 1是 0否")
    private Integer isRead;
    
    @ApiModelProperty(value = "是否已读 1是 0否")
    private UserTaskDo userTask;
    
    private Integer startNo;
    private Integer pageSize;
    private Integer totalResult;
   
}
